
package ig.metrica.modelos;

import java.util.Collection;


/**
 * This is the business interface for SessionModelos enterprise bean.
 */
public interface SessionModelosRemoteBusiness {
    Collection findAll() throws java.rmi.RemoteException;
    
    Collection findByModelo(Integer modelo)  throws java.rmi.RemoteException;
    
    Collection findByModelo(String modelo)  throws java.rmi.RemoteException;
    
    boolean eliminar(ig.metrica.modelos.entity.ModeloorigenesdatosDTO modeloorigenesdatosDTO) throws java.rmi.RemoteException;

    boolean modificar(ig.metrica.modelos.entity.ModeloorigenesdatosDTO DTOViejo, ig.metrica.modelos.entity.ModeloorigenesdatosDTO DTONuevo) throws java.rmi.RemoteException;

    boolean nuevo(ig.metrica.modelos.entity.ModeloorigenesdatosDTO DTO) throws java.rmi.RemoteException;
    
}
